package org.dromara.system.domain.vo;

import org.dromara.system.domain.PayType;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 支付平台视图对象 pay_type
 *
 * @author Gavino
 * @date 2024-10-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PayType.class)
public class PayTypeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 支付平台ID
     */
    @ExcelProperty(value = "支付平台ID")
    private Long typeId;

    /**
     * 平台名称
     */
    @ExcelProperty(value = "平台名称")
    private String name;

    /**
     * 平台标识
     */
    @ExcelProperty(value = "平台标识")
    private String code;

    /**
     * 平台配置
     */
    @ExcelProperty(value = "平台配置")
    private String config;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "pay_type_status")
    private Integer status;

    /**
     * 公共可见
     */
    @ExcelProperty(value = "公共可见")
    private Integer common;

}
